{ "swagger": "2.0", "info": { "title": "AgilePoint NX", "description": "AgilePoint is a platform that opens up two-way communication to provide native support for flows within larger, more scalable cross-organizational automations. Now you can include important daily tasks performed within Microsoft ecosystem in the big picture processes housed in AgilePoint.", "contact": { "name": "AgilePoint Support Team ", "url": "https://helpdesk.agilepoint.com", "email": "helpdesk@agilepoint.com" }, "version": "1.0" }, "host": "agility", "basePath": "/AgilePointServer", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/Admin/CreateAndActivateWebhook": { "x-ms-notification-content": { "schema": { "type": "object", "properties": { "ID": { "type": "string", "description": "ID.", "x-ms-visibility": "internal", "title": "ID" }, "Trigger": { "type": "string", "description": "Trigger.", "x-ms-visibility": "internal", "title": "Trigger." }, "WebhookID": { "type": "string", "description": "WebhookID.", "title": "Webhook ID.", "x-ms-visibility": "internal" }, "WebhookName": { "type": "string", "description": "Webhook Name.", "title": "Webhook Name.", "x-ms-visibility": "internal" }, "Source": { "type": "object", "properties": { "ProcInstID": { "type": "string", "description": "The unique ID of a process instance.", "title": "Process Instance ID" }, "ProcInstName": { "type": "string", "description": "A unique name that is associated with the process instance.", "title": "Process Instance Name" }, "ProcessInitiator": { "type": "string", "description": "The user who starts (kicks off) a process.", "title": "Process Initiator" }, "StartedDate": { "type": "string", "description": "The date when the process instance started.", "title": "Process Started Date" }, "DefName": { "type": "string", "description": "The display name of the process model.", "title": "Process Model Name" }, "Version": { "type": "string", "description": "The version number of the app.", "title": "App Version" }, "SuperProcInstID": { "type": "string", "description": "A process instance ID that acts as a parent process instance of the process instance that is intended to create.", "title": "Parent Process Instance ID" }, "WorkObjectID": { "type": "string", "description": "An ID for an object, such as a document, that is associated with the process instance.", "title": "Work Object ID" } }, "description": "Source" } } }, "description": "Response" }, "post": { "responses": { "200": { "description": "When a process instance is started response.", "schema": {} } }, "summary": "When a process instance is started", "description": "Trigger When AgilePoint Process Instance Started.", "operationId": "TriggerByAgilePointProcessInstanceCreation", "x-ms-trigger": "single", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "type": "object", "properties": { "Name": { "type": "string", "description": "Enter webhook name.", "title": "Name" }, "NotificationAddressUrl": { "type": "string", "description": "Notification Address URL.", "x-ms-notification-url": true, "x-ms-visibility": "internal", "title": "Notification Address URL" }, "Triggers": { "type": "array", "items": { "type": "string", "title": "Trigger Key Item", "x-ms-visibility": "internal", "default": "StartProcessInstance", "description": "Trigger Key Item." }, "default": [ "StartProcessInstance" ], "x-ms-visibility": "internal", "description": "Triggers." }, "TargetApplications": { "type": "array", "items": { "type": "string", "title": "Application Filter", "default": "*", "description": "Name of the Application for Trigger." }, "description": "TargetApplications." } }, "required": [ "NotificationAddressUrl", "Triggers", "Name", "TargetApplications" ] } } ] } }, "/Admin/CreateWebhook": { "x-ms-notification-content": { "schema": { "type": "object", "properties": { "needCallback": { "type": "boolean", "description": "Specifies whether to wait for the Flow to complete.", "title": "Is Asynchronous", "enum": [ "true", "false" ] }, "processInstanceID": { "type": "string", "description": "The unique ID of a process instance.", "title": "Process Instance ID" }, "workItemID": { "type": "string", "description": "An unique ID that represents a task.", "title": "Task ID" }, "workObjectId": { "type": "string", "description": "An ID for an object, such as a document, that is associated with the process instance.", "title": "Work Object ID" }, "activityInstanceid": { "type": "string", "description": "The unique ID for an activity instance.", "title": "Activity Instance ID" } } }, "description": "AgilePartResponse" }, "post": { "responses": { "200": { "description": "When a trigger flow process activity is executed response.", "schema": {} } }, "summary": "When a trigger flow process activity is executed", "description": "Trigger By AgilePoint Activity.", "operationId": "TriggeryByAgilePointActivity", "x-ms-trigger": "single", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { "type": "object", "properties": { "Name": { "type": "string", "description": "Enter webhook name.", "title": "Name" }, "NotificationAddressUrl": { "type": "string", "description": "Notification Address URL.", "x-ms-visibility": "internal", "x-ms-notification-url": true, "title": "Notification Address URL" }, "Triggers": { "type": "array", "items": { "type": "string", "title": "Triggers Key Item", "x-ms-visibility": "internal", "default": "PowerAutomateTrigger", "description": "Triggers Key Item." }, "default": [ "PowerAutomateTrigger" ], "x-ms-visibility": "internal", "description": "Triggers." }, "TargetApplications": { "type": "array", "items": { "type": "string", "title": "Target Application", "x-ms-visibility": "internal", "default": "*", "description": "Target Application." }, "default": [ "*" ], "x-ms-visibility": "internal", "description": "TargetApplications." }, "Headers": { "type": "array", "items": { "type": "object", "properties": { "Name": { "type": "string", "description": "Enter parameter name.", "title": "Name" }, "Value": { "type": "string", "description": "Select parameter type.", "title": "Type", "enum": [ "Text", "Number", "Decimal", "Date", "Time", "DateTime", "Byte", "Boolean" ] } } }, "description": "Headers.", "title": "Parameter" } }, "required": [ "NotificationAddressUrl", "Triggers", "TargetApplications" ] } } ] } }, "/Admin/DeleteWebhook/{WebhookId}": { "delete": { "description": "Deletes selected webhook from the AgilePoint Portal.", "operationId": "DeleteTrigger", "parameters": [ { "name": "WebhookId", "in": "path", "required": true, "type": "string", "description": "Enter webhook ID.", "x-ms-summary": "Webhook ID", "x-ms-url-encoding": "single" } ], "responses": { "200": { "description": "Delete Webhook response.", "schema": { "type": "string" } } }, "summary": "Delete Webhook", "x-ms-visibility": "internal" } }, "/Workflow/CompleteProcedure/{WORKITEMID}": { "post": { "responses": { "200": { "description": "Response of complete procedure.", "schema": { "type": "object", "properties": { "ActivityInstID": { "type": "string", "description": "The unique ID for an activity instance.", "title": "Activity Instance ID" }, "AutoStart": { "type": "boolean", "description": "Specifies whether the process starts immediately after it is created.", "title": "Auto Start" }, "CustomAttributes": { "type": "array", "items": { "description": "Response of Complete System Task Action", "type": "object", "properties": { "Name": { "type": "string", "description": "Name", "title": "", "x-ms-visibility": "internal" }, "Value": { "type": "object", "properties": { "NameValue": { "type": "object", "properties": { "Name": { "type": "string", "description": "The name of an item, such as a property or attribute in a name/value pair.", "title": "", "x-ms-visibility": "internal" }, "Value": { "type": "object", "properties": { "NameValue": { "type": "string", "description": "The value for an item, such as the value for an attribute in a name-value pair.", "title": "", "x-ms-visibility": "internal" } }, "description": "Value" } }, "description": "NameValue" } }, "description": "Value" } }, "x-ms-visibility": "internal" }, "description": "Variables in XML format.", "title": "Variables" }, "Diagnostic": { "type": "boolean", "description": "Specifies if the process data will be deleted from the database after the process completes.", "title": "Diagnostic" }, "EndDate": { "type": "string", "description": "The completion date of the delegation.", "title": "End Date" }, "Entries": { "type": "integer", "format": "int32", "description": "Retrieves the relay time of the event.", "title": "Entries" }, "Error": { "type": "string", "description": "Retrieves and sets the error message of the event.", "title": "Error" }, "EventID": { "type": "string", "description": "A unique ID for an event.", "title": "Event ID" }, "EventName": { "type": "string", "description": "The name of the event.", "title": "Event Name" }, "HighPriority": { "type": "boolean", "description": "Specifies that a task is marked as high priority.", "title": "High Priority" }, "ParamsXml": { "type": "string", "description": "Retrieves and sets the parameters as XML.", "title": "XML Parameters" }, "ParentProcInstID": { "type": "string", "description": "A process instance ID that acts as a parent process instance of the process instance that is intended to create.", "title": "Parent Process Instance ID" }, "ProcDefID": { "type": "string", "description": "The unique ID of the process model.", "title": "Process Model ID" }, "ProcInstID": { "type": "string", "description": "The unique ID of a process instance.", "title": "Process Instance ID" }, "ProcInstName": { "type": "string", "description": "A unique name that is associated with the process instance.", "title": "Process Instance Name" }, "Sender": { "type": "string", "description": "The sender of the event.", "title": "Sender" }, "SentDate": { "type": "string", "description": "The sent date of the event.", "title": "Sent Date" }, "SourceWorkItemID": { "type": "string", "description": "An ID that represents the original, or source, task.", "title": "Source Task ID" }, "Status": { "type": "string", "description": "The status of the event.", "title": "Status" }, "TenantID": { "type": "string", "description": "The unique ID of the AgilePoint NX tenant.", "title": "Tenant ID" }, "UserID": { "type": "string", "description": "The unique ID for a user.", "title": "User ID" }, "WorkItemID": { "type": "string", "description": "An unique ID that represents a task.", "title": "Task ID" }, "WorkObjectID": { "type": "string", "description": "An ID for an object, such as a document, that is associated with the process instance.", "title": "Work Object ID" }, "WorkObjectInfo": { "type": "string", "description": "Usually this parameter is used to hold supplemental information about the work object, such as a URL for a document, within the process instance.", "title": "Work Object Information" } } } } }, "summary": "Complete System Task", "description": "Completes the specified system activity (automatic work item).", "operationId": "CompleteAutoWorkItem", "parameters": [ { "name": "WORKITEMID", "in": "path", "required": true, "type": "string", "description": "Enter work item ID.", "x-ms-url-encoding": "double", "x-ms-summary": "Task ID" } ] } }, "/Workflow/CreateProcInst": { "post": { "responses": { "200": { "description": "Create process instance response.", "schema": { "type": "object", "properties": { "ActivityInstID": { "type": "string", "description": "The unique ID for an activity instance.", "title": "Activity Instance ID" }, "AutoStart": { "type": "boolean", "description": "Specifies whether the process starts immediately after it is created.", "title": "Auto Start" }, "CustomAttributes": { "type": "array", "items": { "type": "object", "properties": { "Name": { "type": "string", "description": "Name.", "title": "", "x-ms-visibility": "internal" }, "Value": { "type": "object", "properties": { "NameValue": { "type": "object", "properties": { "Name": { "type": "string", "description": "The name of an item, such as a property or attribute in a name/value pair.", "title": "", "x-ms-visibility": "internal" }, "Value": { "type": "object", "properties": { "NameValue": { "type": "string", "description": "The value for an item, such as the value for an attribute in a name-value pair.", "title": "", "x-ms-visibility": "internal" } }, "description": "Value." } }, "description": "NameValue." } }, "description": "Values in name-value pair." } }, "x-ms-visibility": "internal" }, "description": "Variables in XML format.", "title": "Variables" }, "Diagnostic": { "type": "boolean", "description": "Specifies if the process data will be deleted from the database after the process completes.", "title": "Diagnostic" }, "EndDate": { "type": "string", "description": "The completion date of the delegation.", "title": "End Date" }, "Entries": { "type": "integer", "format": "int32", "description": "Retrieves the relay time of the event.", "title": "Entries" }, "Error": { "type": "string", "description": "Retrieves and sets the error message of the event.", "title": "Error" }, "EventID": { "type": "string", "description": "A unique ID for an event.", "title": "Event ID" }, "EventName": { "type": "string", "description": "The name of the event.", "title": "Event Name" }, "HighPriority": { "type": "boolean", "description": "Specifies that a task is marked as high priority.", "title": "High Priority" }, "ParamsXml": { "type": "string", "description": "Retrieves and sets the parameters as XML.", "title": "XML Parameters" }, "ParentProcInstID": { "type": "string", "description": "A process instance ID that acts as a parent process instance of the process instance that is intended to create.", "title": "Parent Process Instance ID" }, "ProcDefID": { "type": "string", "description": "The unique ID of the process model.", "title": "Process Model ID" }, "ProcInstID": { "type": "string", "description": "The unique ID of a process instance.", "title": "Process Instance ID" }, "ProcInstName": { "type": "string", "description": "A unique name that is associated with the process instance.", "title": "Process Instance Name" }, "Sender": { "type": "string", "description": "The sender of the event.", "title": "Sender" }, "SentDate": { "type": "string", "description": "The sent date of the event.", "title": "Sent Date" }, "SourceWorkItemID": { "type": "string", "description": "An ID that represents the original, or source, task.", "title": "Source Task ID" }, "Status": { "type": "string", "description": "The status of the event.", "title": "Status" }, "TenantID": { "type": "string", "description": "The unique ID of the AgilePoint NX tenant.", "title": "Tenant ID" }, "UserID": { "type": "string", "description": "The unique ID for a user.", "title": "User ID" }, "WorkItemID": { "type": "string", "description": "An unique ID that represents a task.", "title": "Task ID" }, "WorkObjectID": { "type": "string", "description": "An ID for an object, such as a document, that is associated with the process instance.", "title": "Work Object ID" }, "WorkObjectInfo": { "type": "string", "description": "Usually this parameter is used to hold supplemental information about the work object, such as a URL for a document, within the process instance.", "title": "Work Object Information" } } } } }, "parameters": [ { "name": "body", "in": "body", "required": false, "schema": { "type": "object", "properties": { "ProcessID": { "type": "string", "description": "Select process definition name.", "title": "Process Definition", "x-ms-dynamic-values": { "operationId": "GetReleasedProcDefs", "value-path": "Key", "value-collection": "GetReleasedProcDefsResult", "value-title": "Value" } }, "ProcessInstID": { "type": "string", "description": "Enter process instance ID.", "title": "Process Instance ID", "x-ms-visibility": "advanced" }, "ProcInstName": { "type": "string", "description": "Enter process instance name.", "title": "Process Instance Name" }, "WorkObjID": { "type": "string", "description": "Enter work object ID.", "title": "Work Object ID" }, "WorkObjInfo": { "type": "string", "description": "Enter object information.", "title": "Work Object Information", "x-ms-visibility": "advanced" }, "SuperProcInstID": { "type": "string", "description": "Enter parent process instance ID.", "title": "Parent Process Instance ID", "x-ms-visibility": "advanced" }, "Initiator": { "type": "string", "description": "Enter process initiator name.", "title": "Process Initiator" }, "CustomID": { "type": "string", "description": "Enter custom ID.", "title": "ID", "x-ms-visibility": "advanced" }, "blnStartImmediately": { "type": "boolean", "description": "Select value.", "title": "Start Immediately", "enum": [ true, false ], "x-ms-visibility": "advanced", "default": true }, "Attributes": { "type": "array", "items": { "type": "object", "properties": { "Name": { "type": "string", "description": "Enter attribute name.", "title": "Name" }, "Value": { "type": "string", "description": "Enter attribute value.", "title": "Value" } } }, "title": "Attributes", "description": "Attributes NameValue Pair." } }, "required": [ "Initiator", "ProcessID", "WorkObjID", "ProcInstName" ] } } ], "summary": "Start Process Instance", "description": "Creates a process instance for a specified process instance ID and parameters.", "operationId": "CreateProcInst" } }, "/Workflow/SetCustomAttrs/{CUSTOMID}": { "post": { "responses": { "200": { "description": "Set data response.", "schema": {} } }, "summary": "Save Data", "description": "Sets a list of process attribute (custom attributes) to the specified values for a specified custom attribute ID.", "parameters": [ { "name": "CUSTOMID", "in": "path", "required": true, "type": "string", "x-ms-summary": "ID", "x-ms-url-encoding": "single", "description": "Enter custom ID." }, { "name": "body", "in": "body", "required": false, "schema": { "type": "object", "properties": { "attributes": { "type": "array", "items": { "type": "object", "properties": { "Name": { "type": "string", "description": "Enter attribute name.", "title": "Name" }, "Value": { "type": "string", "description": "Enter attribute value.", "title": "Value" } } }, "description": "Attributes NameValue Pair.", "title": "Attributes" } } } } ], "operationId": "SetCustomAttrs" } }, "/Workflow/GetCustomAttr/{CUSTOMID}": { "post": { "responses": { "200": { "description": "Get data response.", "schema": {} } }, "operationId": "GetCustomAttr", "summary": "Get Data", "parameters": [ { "name": "CUSTOMID", "in": "path", "required": true, "type": "string", "x-ms-summary": "ID", "x-ms-url-encoding": "single", "description": "Enter custom ID." }, { "name": "body", "in": "body", "required": false, "schema": { "type": "object", "properties": { "attrName": { "type": "string", "description": "Enter attribute name.", "title": "Attribute Name" } }, "required": [ "attrName" ] } } ], "description": "Retrieves a process attribute (custom attribute) with the specified process attribute ID and process attribute name." } }, "/Workflow/GetReleasedProcDefs": { "get": { "responses": { "200": { "description": "Get process models response.", "schema": { "type": "object", "properties": { "GetReleasedProcDefsResult": { "type": "array", "items": { "type": "object", "properties": { "Key": { "type": "string", "description": "Key" }, "Value": { "type": "string", "description": "Value" } } }, "description": "GetReleasedProcDefsResult" } } } } }, "summary": "Get Process Definitions", "parameters": [], "operationId": "GetReleasedProcDefs", "description": "Retrieves the names and IDs of all released process models.", "x-ms-visibility": "internal" } }, "/Workflow/GetUUID": { "get": { "responses": { "200": { "description": "Retrieve UUID result response.", "schema": { "type": "object", "properties": { "GetUUIDResult": { "type": "string", "description": "A UUID generated by Agilepoint Server.", "title": "Retrieve UUID Result" } } } } }, "operationId": "GetUUID", "parameters": [], "description": "Retrieves the UUID generated by AgilePoint Server.", "summary": "Generate New Guid" } }, "/Workflow/GetProcInst/{processInstanceID}": { "get": { "responses": { "200": { "description": "Get process Instance response.", "schema": { "type": "object", "properties": { "GetProcInstResult": { "type": "object", "properties": { "ApplName": { "type": "string", "description": "The unique name of the app.", "title": "App Name" }, "ApplicationDisplayName": { "type": "string", "description": "The display name for an AgilePoint NX app.", "title": "App Display Name" }, "CompletedDate": { "type": "string", "description": "The date and time when the process instance was completed.", "title": "Completed Date" }, "DefID": { "type": "string", "description": "The unique ID of the process model.", "title": "Process Model ID" }, "DefName": { "type": "string", "description": "The display name of the process model.", "title": "Process Model Name" }, "DueDate": { "type": "string", "description": "The date that the process instance is expected to be complete.", "title": "Due Data" }, "LastModifiedBy": { "type": "string", "description": "The user who last updated, or modified, the item.", "title": "Last Modified By" }, "LastModifiedDate": { "type": "string", "description": "The date and time that the last modification was made to the process instance.", "title": "Last Modified Date" }, "LastRunningEndTime": { "type": "string", "description": "The date the process instance last stopped running.", "title": "Last Running End Time" }, "LastRunningStartTime": { "type": "string", "description": "The date the process instance last started or resumed.", "title": "Last Running Start Time" }, "LastSwapDate": { "type": "string", "description": "The last time the process instance was swapped out to free up resources.", "title": "Last Swap Date" }, "ProcInitiator": { "type": "string", "description": "The user who starts (kicks off) a process.", "title": "Process Initiator" }, "ProcInitiatorLoc": { "type": "string", "description": "The IP address of the user who initiated the process instance.", "title": "Process Initiator Location" }, "ProcInstID": { "type": "string", "description": "The unique ID of a process instance.", "title": "Process Instance ID" }, "ProcInstName": { "type": "string", "description": "A unique name that is associated with the process instance.", "title": "Process Instance Name" }, "ProcessDefinitionDisplayName": { "type": "string", "description": "The name of the process model.", "title": "Process Model Display Name" }, "ProcessInitiator": { "type": "string", "description": "The user who starts (kicks off) a process.", "title": "Process Initiator" }, "ProcessInitiatorLocation": { "type": "string", "description": "The IP address of the user who initiated the process instance.", "title": "Process Initiator Location" }, "SourceProcInstID": { "type": "string", "description": "The ID of the original, or source, process instance.", "title": "Source Process Instance ID" }, "StartedDate": { "type": "string", "description": "The date and time when the process instance was started(kicked off).", "title": "Started Date" }, "Status": { "type": "string", "description": "The status of the process instance.", "title": "Status" }, "SuperProcInstID": { "type": "string", "description": "A process instance ID that acts as a parent process instance of the process instance that is intended to create.", "title": "Parent Process Instance ID" }, "TargetProcInstID": { "type": "string", "description": "The ID of the target, or destination, process instance.", "title": "Target Process Instance ID" }, "ToplevelProcInstID": { "type": "string", "description": "The ID of the process instance that is the top of the process hierarchy for a process-based app.", "title": "Top level Process Instance ID" }, "Version": { "type": "string", "description": "The version number of the process model.", "title": "Version" }, "WorkObjectID": { "type": "string", "description": "An ID for an object, such as a document, that is associated with the process instance.", "title": "Work Object ID" }, "WorkObjectInfo": { "type": "string", "description": "Usually this parameter is used to hold supplemental information about the work object, such as a URL for a document, within the process instance.", "title": "Work Object Information" } }, "description": "Result of information about a specified process instance." } } } } }, "summary": "Get Process Instance", "description": "Retrieves information about a specified process instance.", "operationId": "GetProcessInstance", "parameters": [ { "name": "processInstanceID", "in": "path", "required": true, "type": "string", "description": "Enter process instance ID.", "x-ms-summary": "Process Instance ID", "x-ms-url-encoding": "single" } ] } }, "/Admin/GetRegisterUser": { "post": { "responses": { "200": { "description": "Get User response.", "schema": { "type": "object", "properties": { "Department": { "type": "string", "description": "The user's department name.", "title": "Department" }, "Disabled": { "type": "boolean", "description": "Specifies whether the user is disabled.", "title": "Disabled" }, "EMailAddress": { "type": "string", "description": "The user's email address.", "title": "Email Address" }, "FullName": { "type": "string", "description": "The user's full name.", "title": "Full Name" }, "Level": { "type": "string", "description": "Level.", "title": "Level", "x-ms-visibility": "internal" }, "Locale": { "type": "string", "description": "The locale of the client device.", "title": "Locale" }, "Manager": { "type": "string", "description": "The full name of the user's manager.", "title": "Manager" }, "OnlineContact": { "type": "string", "description": "Retrieves the online contact of the user.", "title": "Online Contact" }, "RefID": { "type": "string", "description": "The reference ID for the user.", "title": "Reference ID" }, "RegisteredDate": { "type": "string", "description": "Retrieves the date the user was registered in AgilePoint NX.", "title": "Registered Date" }, "SupportedLanguage": { "type": "string", "description": "Retrieves a list of the languages that are supported.", "title": "Supported Languages" }, "TimeZone": { "type": "string", "description": "The user's time zone.", "title": "Time Zone" }, "Title": { "type": "string", "description": "The user's job title.", "title": "Title" }, "UALExpirationDate": { "type": "string", "description": "The date and time the user session expires.", "title": "User Session Expiration " }, "UALNeverExpires": { "type": "boolean", "description": "Specifies whether user's session never expires (i.e., the user has a named license seat).", "title": "User Session Never Expires" }, "UserName": { "type": "string", "description": "A qualified user name of the instance.", "title": "UserName" }, "UserOrgInfo": { "type": "string", "description": "Retrieves information about the user's organization, such as a description.", "title": "User Organization Information" }, "WorkCalendarID": { "type": "string", "description": "The unique ID of the work calendar for the organization.", "title": "Work Calendar ID" } } } } }, "summary": "Get User", "description": "Retrieves the profile information for the specified registered user.", "operationId": "GetRegisteredUserbyName", "parameters": [ { "name": "body", "in": "body", "required": false, "schema": { "type": "object", "properties": { "userName": { "type": "string", "description": "Enter username in (Domain\\Username) format.", "title": "Username" } }, "required": [ "userName" ] } } ] } }, "/Workflow/CompleteWorkItem/{workItemID}": { "post": { "responses": { "200": { "description": "Complete workItem response.", "schema": { "type": "object", "properties": { "ActivityInstID": { "type": "string", "description": "The unique ID for an activity instance.", "title": "Activity Instance ID" }, "AutoStart": { "type": "boolean", "description": "Specifies whether the process starts immediately after it is created.", "title": "Auto Start" }, "CustomAttributes": { "type": "string", "description": "Variables in XML format.", "title": "Variables" }, "Diagnostic": { "type": "boolean", "description": "Specifies if the process data will be deleted from the database after the process completes.", "title": "Diagnostic" }, "EndDate": { "type": "string", "description": "The completion date of the delegation.", "title": "End Date" }, "Entries": { "type": "integer", "format": "int32", "description": "Retrieves the relay time of the event.", "title": "Entries" }, "Error": { "type": "string", "description": "Retrieves and sets the error message of the event.", "title": "Error" }, "EventID": { "type": "string", "description": "A unique ID for an event.", "title": "Event ID" }, "EventName": { "type": "string", "description": "The name of the event.", "title": "Event Name" }, "HighPriority": { "type": "boolean", "description": "Specifies that a task is marked as high priority.", "title": "High Priority" }, "ParamsXml": { "type": "string", "description": "Retrieves and sets the parameters as XML.", "title": "XML Parameters" }, "ParentProcInstID": { "type": "string", "description": "A process instance ID that acts as a parent process instance of the process instance that is intended to create.", "title": "Parent Process Instance ID" }, "ProcDefID": { "type": "string", "description": "The unique ID of the process model.", "title": "Process Model ID" }, "ProcInstID": { "type": "string", "description": "The unique ID of a process instance.", "title": "Process Instance ID" }, "ProcInstName": { "type": "string", "description": "A unique name that is associated with the process instance.", "title": "Process Instance Name" }, "Sender": { "type": "string", "description": "The sender of the event.", "title": "Sender" }, "SentDate": { "type": "string", "description": "The sent date of the event.", "title": "Sent Date" }, "SourceWorkItemID": { "type": "string", "description": "An ID that represents the original, or source, task.", "title": "Source Task ID" }, "Status": { "type": "string", "description": "The status of the event.", "title": "Status" }, "TenantID": { "type": "string", "description": "The unique ID of the AgilePoint NX tenant.", "title": "Tenant ID" }, "UserID": { "type": "string", "description": "The unique ID for a user.", "title": "User ID" }, "WorkItemID": { "type": "string", "description": "An unique ID that represents a task.", "title": "Task ID" }, "WorkObjectID": { "type": "string", "description": "An ID for an object, such as a document, that is associated with the process instance.", "title": "Work Object ID" }, "WorkObjectInfo": { "type": "string", "description": "Usually this parameter is used to hold supplemental information about the work object, such as a URL for a document, within the process instance.", "title": "Work Object Information" } } } } }, "summary": "Complete Human Task", "description": "Completes the specified human task (manual work item), and changes its status to Completed in the database.", "operationId": "CompleteManualWorkItem", "parameters": [ { "name": "workItemID", "in": "path", "required": true, "type": "string", "x-ms-summary": "Task ID", "x-ms-url-encoding": "single", "description": "Enter work item ID." }, { "name": "body", "in": "body", "required": false, "schema": { "type": "object", "properties": { "clientData": { "type": "string", "description": "Enter client data.", "title": "Client Data", "default": "null", "x-ms-visibility": "advanced" } }, "required": [ "clientData" ] } } ] } }, "/Workflow/GetProcDefs": { "get": { "responses": { "200": { "description": "Get process Models response.", "schema": { "type": "object", "properties": { "GetProcDefsResult": { "type": "array", "items": { "type": "object", "description": "Response of Get Process Models Action", "properties": { "ApplName": { "type": "string", "description": "The display name for an AgilePoint NX app.", "title": "App Name" }, "AssemblyName": { "type": "string", "description": "Gets and sets the full name of the assembly.", "title": "Assembly Name" }, "AuditLevel": { "type": "integer", "format": "int32", "description": "Specifies the amount of process related data that is logged for a process. This property can be set at either the process level or at the individual activity level. This property allows you to control the level of granularity in terms of the amount of process related data that is recorded in the log.", "title": "Audit Level" }, "BaseDefID": { "type": "string", "description": "The base process model ID with the specified process model name.", "title": "Base Definition ID" }, "CheckedOutBy": { "type": "string", "description": "The user who last checked out the app.", "title": "Checked Out By" }, "CheckedOutDate": { "type": "string", "description": "The date the app was last checked out.", "title": "Checked Out Date" }, "ClassName": { "type": "string", "description": "Gets and sets the class name, including the namespace.", "title": "Class Name" }, "CreatedBy": { "type": "string", "description": "The user's name who created the process model.", "title": "Created By" }, "CreatedDate": { "type": "string", "description": "The date when the process model was created.", "title": "Created Date" }, "DefID": { "type": "string", "description": "The unique ID of the process model.", "title": "Process Model ID" }, "DefName": { "type": "string", "description": "The display name of the process model.", "title": "Process Model Name" }, "Description": { "type": "string", "description": "A description of the app." }, "Diagnostic": { "type": "boolean", "description": "Specifies if the process data will be deleted from the database after the process is completes." }, "DocRef": { "type": "string", "description": "Specifies the URL of a document. This is typically used for internal documentation for a process designer.", "title": "Document Reference" }, "ExpectedTime": { "type": "object", "properties": { "BusinessTime": { "type": "boolean", "description": "Specifies whether the system calculates the duration using your business time calendar.", "title": "Business Time" }, "Length": { "type": "string", "description": "Specifies the length of time duration." }, "Unit": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "description": "Value of the unit." } }, "description": "Specifies the unit of time." } }, "description": "Expected time frame for a process instance to be completed." }, "InitiateConstraint": { "type": "integer", "format": "int32", "description": "Specifies whether the process instance was initiated by an eForm, Event Services, or another process instance.", "title": "Process Initiated By " }, "MaximumSessionAllowed": { "type": "integer", "format": "int32", "description": "Configures the maximum number of sessions for an activity in a process instance. If an activity runs more times than the maximum sessions, the process is suspended.", "title": "Maximum Sessions Allowed" }, "OnComplete": { "type": "integer", "format": "int32", "description": "The action to execute when a process instance completes." }, "Owner": { "type": "string", "description": "The user name of the app owner." }, "PreVersion": { "type": "string", "description": "The previous version number of the app.", "title": "Previous Version" }, "ReleaseDate": { "type": "string", "description": "Retrieves the date when the app was released.", "title": "Release Date" }, "Rule": { "type": "string", "description": "Rule.", "title": "", "x-ms-visibility": "internal" }, "Status": { "type": "string", "description": "The status of the process model.", "title": "" }, "SupplementInfo": { "type": "string", "description": "Supplemental information for the process model.", "title": "Supplemental Information", "x-ms-visibility": "internal" }, "Version": { "type": "string", "description": "The version number of the app." } } }, "description": "Result of all versions of all process models (process definitions)." } } } } }, "description": "Retrieves all versions of all process models (process definitions).", "summary": "Get Process Models", "operationId": "ProcessDefinition", "parameters": [] } } }, "definitions": {}, "parameters": {}, "responses": {}, "securityDefinitions": { "basic_auth": { "type": "basic" } }, "security": [ { "basic_auth": [] } ], "tags": [], "x-ms-connector-metadata": [ { "propertyName": "Website", "propertyValue": "https://agilepoint.com/" }, { "propertyName": "Privacy policy", "propertyValue": "https://agilepoint.com/privacy-statement/" }, { "propertyName": "Categories", "propertyValue": "Productivity;Business Management" } ] }